Skip to content

Arm backend: Fix bug causing empty partition reports#19842

Merged
Erik-Lundell merged 2 commits into
pytorch:mainfrom
Erik-Lundell:fix-partition-report
May 29, 2026
Merged

Arm backend: Fix bug causing empty partition reports#19842
Erik-Lundell merged 2 commits into
pytorch:mainfrom
Erik-Lundell:fix-partition-report

Conversation

@Erik-Lundell
Copy link
Copy Markdown
Collaborator

@Erik-Lundell Erik-Lundell commented May 28, 2026

logger.level was used to determine whether to
add the partition_report.txt FileHandler to the logger. This value is not est by logging.setBasicConfig,
and defaults to 0. This caused empty reports to be output when intermediate path was set and logging was > info

Instead, use .getEffectiveLevel()

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

@Erik-Lundell Erik-Lundell requested a review from digantdesai as a code owner May 28, 2026 13:05
logger.level was used to determine whether to
add the partition_report.txt FileHandler to the logger.
This value is not est by logging.setBasicConfig,
and defaults to 0. This caused empty reports to be output
when intermediate path was set and logging was > info

Instead, use .getEffectiveLevel()

Signed-off-by: Erik Lundell <erik.lundell@arm.com>
Change-Id: Ifd0432dbf17678636fde933d8e4e94514f1b348c
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 28, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19842

Note: Links to docs will display an error until the docs builds have been completed.

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

❌ 2 New Failures, 231 Pending, 1 Unrelated Failure

As of commit 83f1521 with merge base c72bc87 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 28, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels May 28, 2026
@Erik-Lundell Erik-Lundell added release notes: none Do not include this in the release notes partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm labels May 28, 2026
@Erik-Lundell Erik-Lundell merged commit 501d641 into pytorch:main May 29, 2026
440 of 450 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants